package com.qipay.mapper;


import org.apache.commons.lang3.StringUtils;

import java.util.List;

public class CpAccountTradlogSqlProvider extends com.qipay.baas.mapper.CpAccountTradlogSqlProvider {

    public String list(List<Long> cpIdList, String from, String to) {

        return String.format("select * from cp_account_tradlog where cp_id in (%s) and create_time >= '%s' and create_time <= '%s'", StringUtils.join(cpIdList, ","), from, to);
    }
}